
protected void keyPressed(int keyCode)
{
	s_iPressedKey = keyCode;
#ifdef USE_DEBUG
	// System.out.println("Pressed key code: "+keyCode);
#endif
}
	
protected void keyReleased(int keyCode)
{
	s_iReleasedKey = keyCode;
#ifdef USE_DEBUG
	// System.out.println("Released key code: "+keyCode);
#endif
}

protected void keyRepeated(int keyCode)
{
	s_iRepeatedKey = keyCode;
#ifdef USE_DEBUG
	// System.out.println("Repeated key code: "+keyCode);
#endif
}

void ResetKeys()
{
	s_iPressedKey = 0;
	s_iReleasedKey = 0;
}

static void SetSoftkey(boolean left, boolean right)
{
	softkeyLeft = left;
	softkeyRight = right;
}
